<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Data conversion</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Data_conversion"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Data_conversion rootpage-Data_conversion skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Data conversion</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */
.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">This article is about conversion of file formats. For conversion of data types, see <a href="Type_conversion" title="Type conversion">Type conversion</a>. For conversion of analog information to digital data, see <a href="Analog-to-digital_converter" title="Analog-to-digital converter">Analog-to-digital converter</a>.</div>
<style data-mw-deduplicate="TemplateStyles:r1305433154">
/* start https://en.wikipedia.org/ */
.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style>
<style data-mw-deduplicate="TemplateStyles:r1129693374">
/* start https://en.wikipedia.org/ */
.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}
/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1246091330">
/* start https://en.wikipedia.org/ */
.mw-parser-output .sidebar{width:22em;float:right;clear:right;margin:0.5em 0 1em 1em;background:var(--background-color-neutral-subtle,#f8f9fa);border:1px solid var(--border-color-base,#a2a9b1);padding:0.2em;text-align:center;line-height:1.4em;font-size:88%;border-collapse:collapse;display:table}body.skin-minerva .mw-parser-output .sidebar{display:table!important;float:right!important;margin:0.5em 0 1em 1em!important}.mw-parser-output .sidebar-subgroup{width:100%;margin:0;border-spacing:0}.mw-parser-output .sidebar-left{float:left;clear:left;margin:0.5em 1em 1em 0}.mw-parser-output .sidebar-none{float:none;clear:both;margin:0.5em 1em 1em 0}.mw-parser-output .sidebar-outer-title{padding:0 0.4em 0.2em;font-size:125%;line-height:1.2em;font-weight:bold}.mw-parser-output .sidebar-top-image{padding:0.4em}.mw-parser-output .sidebar-top-caption,.mw-parser-output .sidebar-pretitle-with-top-image,.mw-parser-output .sidebar-caption{padding:0.2em 0.4em 0;line-height:1.2em}.mw-parser-output .sidebar-pretitle{padding:0.4em 0.4em 0;line-height:1.2em}.mw-parser-output .sidebar-title,.mw-parser-output .sidebar-title-with-pretitle{padding:0.2em 0.8em;font-size:145%;line-height:1.2em}.mw-parser-output .sidebar-title-with-pretitle{padding:0.1em 0.4em}.mw-parser-output .sidebar-image{padding:0.2em 0.4em 0.4em}.mw-parser-output .sidebar-heading{padding:0.1em 0.4em}.mw-parser-output .sidebar-content{padding:0 0.5em 0.4em}.mw-parser-output .sidebar-content-with-subgroup{padding:0.1em 0.4em 0.2em}.mw-parser-output .sidebar-above,.mw-parser-output .sidebar-below{padding:0.3em 0.8em;font-weight:bold}.mw-parser-output .sidebar-collapse .sidebar-above,.mw-parser-output .sidebar-collapse .sidebar-below{border-top:1px solid #aaa;border-bottom:1px solid #aaa}.mw-parser-output .sidebar-navbar{text-align:right;font-size:115%;padding:0 0.4em 0.4em}.mw-parser-output .sidebar-list-title{padding:0 0.4em;text-align:left;font-weight:bold;line-height:1.6em;font-size:105%}.mw-parser-output .sidebar-list-title-c{padding:0 0.4em;text-align:center;margin:0 3.3em}@media(max-width:640px){body.mediawiki .mw-parser-output .sidebar{width:100%!important;clear:both;float:none!important;margin-left:0!important;margin-right:0!important}}body.skin--responsive .mw-parser-output .sidebar a>img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-list-title,html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle{background:transparent!important}html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle a{color:var(--color-progressive)!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-list-title,html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle{background:transparent!important}html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle a{color:var(--color-progressive)!important}}@media print{body.ns-0 .mw-parser-output .sidebar{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><table class="sidebar nomobile nowraplinks"><tbody><tr><th class="sidebar-title"><a href="Data_transformation_(computing)" title="Data transformation (computing)">Data transformation</a></th></tr><tr><th class="sidebar-heading" style="background:#E7C6A5; padding:2px">
Concepts</th></tr><tr><td class="sidebar-content hlist">
<ul><li><a href="Metadata" title="Metadata">Metadata</a></li>
<li><a href="Data_element" title="Data element">Data element</a></li>
<li><a href="Data_mapping" title="Data mapping">Data mapping</a></li>
<li><a href="Data_migration" title="Data migration">Data migration</a></li>
<li><a href="Data_transformation_(computing)" title="Data transformation (computing)">Data transformation</a></li>
<li><a href="Model_transformation" title="Model transformation">Model transformation</a></li>
<li><a href="Macro_(computer_science)" title="Macro (computer science)">Macro</a></li>
<li><a href="Preprocessor" title="Preprocessor">Preprocessor</a></li></ul></td>
</tr><tr><th class="sidebar-heading" style="background:#E7C6A5; padding:2px">
<a href="Transformation_language" title="Transformation language">Transformation languages</a></th></tr><tr><td class="sidebar-content hlist">
<ul><li><a href="ATLAS_Transformation_Language" title="ATLAS Transformation Language">ATL</a></li>
<li><a href="AWK" title="AWK">AWK</a></li>
<li><a href="MOFM2T" class="mw-redirect" title="MOFM2T">MOFM2T</a></li>
<li><a href="QVT" title="QVT">QVT</a></li>
<li><a href="XML_transformation_language" title="XML transformation language">XML languages</a></li></ul></td>
</tr><tr><th class="sidebar-heading" style="background:#E7C6A5; padding:2px">
Techniques and transforms</th></tr><tr><td class="sidebar-content hlist">
<ul><li><a href="Identity_transform" title="Identity transform">Identity transform</a></li>
<li><a href="Data_refinement" class="mw-redirect" title="Data refinement">Data refinement</a></li></ul></td>
</tr><tr><th class="sidebar-heading" style="background:#E7C6A5; padding:2px">
Applications</th></tr><tr><td class="sidebar-content hlist">
<ul>
<li><a href="Data_migration" title="Data migration">Data migration</a></li>
<li><a href="Data_integration" title="Data integration">Data integration</a></li>
<li><a href="Extract%2C_transform%2C_load" title="Extract, transform, load">Extract, transform, load</a> (ETL)</li>
<li><a href="Web_template_system" title="Web template system">Web template system</a></li></ul></td>
</tr><tr><th class="sidebar-heading" style="background:#E7C6A5; padding:2px">
Related</th></tr><tr><td class="sidebar-content hlist">
<ul><li><a href="Data_wrangling" title="Data wrangling">Data wrangling</a></li>
<li><a href="Transformation_language" title="Transformation language">Transformation languages</a></li></ul></td>
</tr><tr><td class="sidebar-navbar"><style data-mw-deduplicate="TemplateStyles:r1239400231">
/* start https://en.wikipedia.org/ */
.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}
/* end https://en.wikipedia.org/ */
</style></td></tr></tbody></table>
<p><b>Data conversion</b> is the conversion of <a href="Computer_data" class="mw-redirect" title="Computer data">computer data</a> from one <a href="File_format" title="File format">format</a> to another. Throughout a computer environment, data is <a href="Character_encoding" title="Character encoding">encoded</a> in a variety of ways. For example, <a href="Computer_hardware" title="Computer hardware">computer hardware</a> is built on the basis of certain standards, which requires that data contains, for example, <a href="Parity_bit" title="Parity bit">parity bit</a> checks. Similarly, the <a href="Operating_system" title="Operating system">operating system</a> is predicated on certain standards for data and file handling. Furthermore, each computer program handles data in a different manner. Whenever any one of these variables is changed, data must be converted in some way before it can be used by a different computer, operating system or program. Even different versions of these elements usually involve different data structures. For example, the changing of <a href="Bit" title="Bit">bits</a> from one format to another, usually for the purpose of application interoperability or of the capability of using new features, is merely a data conversion. Data conversions may be as simple as the conversion of a <a href="Text_file" title="Text file">text file</a> from one <a href="Character_encoding" title="Character encoding">character encoding</a> system to another; or more complex, such as the conversion of office file formats, or the <a href="Image_conversion" title="Image conversion">conversion of image formats</a> and <a href="Audio_file_format" title="Audio file format">audio file formats</a>.
</p><p>There are many ways in which data is converted within the computer environment. This may be seamless, as in the case of upgrading to a newer version of a computer program. Alternatively, the conversion may require processing by the use of a special conversion program, or it may involve a complex process of going through intermediary stages, or involving complex "exporting" and "importing" procedures, which may include converting to and from a tab-delimited or comma-separated text file. In some cases, a program may recognize several data file formats at the data input stage and then is also capable of storing the output data in several different formats. Such a program may be used to convert a file format. If the source format or target format is not recognized, then at times a third program may be available which permits the conversion to an intermediate format, which can then be reformatted using the first program. There are many possible scenarios.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Information_basics">Information basics</h2></div>
<p>Before any data conversion is carried out, the user or application programmer should keep a few basics of computing and <a href="Information_theory" title="Information theory">information theory</a> in mind. These include:
</p>
<ul><li>Information can easily be discarded by the computer, but adding information takes effort.</li>
<li>The computer can add information only in a rule-based fashion. </li>
<li>Upsampling the data or converting to a more <a href="Feature-rich" class="mw-redirect" title="Feature-rich">feature-rich</a> format does not add information; it merely makes room for that addition, which usually a human must do.</li>
<li>Data stored in an electronic format can be quickly modified and analyzed.</li></ul>
<p>For example, a <a href="24-bit_color" class="mw-redirect" title="24-bit color">true color</a> image can easily be converted to <a href="Grayscale" title="Grayscale">grayscale</a>, while the opposite conversion is a painstaking process. Converting a <a href="Unix" title="Unix">Unix</a> text file to a <a href="Microsoft" title="Microsoft">Microsoft</a> (DOS/Windows) text file involves adding characters, but this does not increase the <a href="Entropy_(information_theory)" title="Entropy (information theory)">entropy</a> since it is rule-based; whereas the addition of color information to a grayscale image cannot be reliably done programmatically, as it requires adding new information, so any attempt to add color would require <a href="Computer_vision" title="Computer vision">estimation</a> by the computer based on previous knowledge. Converting a 24-bit <a href="PNG" title="PNG">PNG</a> to a 48-bit one does not add information to it, it only pads existing <a href="RGB" class="mw-redirect" title="RGB">RGB</a> pixel values with zeroes, so that a pixel with a value of FF C3 56, for example, becomes FF00 C300 5600. The conversion makes it possible to change a pixel to have a value of, for instance, FF80 C340 56A0, but the conversion itself does not do that, only further manipulation of the image can. Converting an image or audio file in a <a href="Lossy" class="mw-redirect" title="Lossy">lossy</a> format (like <a href="JPEG" title="JPEG">JPEG</a> or <a href="Vorbis" title="Vorbis">Vorbis</a>) to a <a href="Lossless" class="mw-redirect" title="Lossless">lossless</a> (like PNG or <a href="FLAC" title="FLAC">FLAC</a>) or uncompressed (like <a href="Windows_bitmap" class="mw-redirect" title="Windows bitmap">BMP</a> or <a href="WAV" title="WAV">WAV</a>) format only wastes space, since the same image with its loss of original information (the artifacts of lossy compression) becomes the target. A JPEG image can never be restored to the quality of the original image from which it was made, no matter how much the user tries the <a href="JPEG_artifact" class="mw-redirect" title="JPEG artifact">JPEG artifact</a> removal feature of his or her image manipulation program.
</p><p>Automatic restoration of information that was lost through a <a href="Lossy_compression" title="Lossy compression">lossy compression</a> process would probably require important advances in <a href="Artificial_intelligence" title="Artificial intelligence">artificial intelligence</a>.
</p><p>Because of these realities of computing and information theory, data conversion is often a complex and error-prone process that requires the help of experts.
</p>
<div class="mw-heading mw-heading2"><h2 id="Pivotal_conversion">Pivotal conversion</h2></div>
<p>Data conversion can occur directly from one format to another, but many applications that convert between multiple formats use an <a href="Intermediate_representation" title="Intermediate representation">intermediate representation</a> by way of which any source format is converted to its target.<sup id="cite_ref-ManolescuVoelter2006_1-0" class="reference"><a href="#cite_note-ManolescuVoelter2006-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> For example, it is possible to convert <a href="Cyrillic" class="mw-redirect" title="Cyrillic">Cyrillic</a> text from <a href="KOI8-R" title="KOI8-R">KOI8-R</a> to <a href="Windows-1251" title="Windows-1251">Windows-1251</a> using a lookup table between the two encodings, but the modern approach is to convert the KOI8-R file to <a href="Unicode" title="Unicode">Unicode</a> first and from that to Windows-1251. This is a more manageable approach; rather than needing lookup tables for all possible pairs of character encodings, an application needs only one lookup table for each character set, which it uses to convert to and from Unicode, thereby scaling the number of tables down from hundreds to a few tens.
</p><p>Pivotal conversion is similarly used in other areas. Office applications, when employed to convert between office file formats, use their internal, default file format as a pivot. For example, a <a href="Word_processor" title="Word processor">word processor</a> may convert an <a href="Rich_Text_Format" title="Rich Text Format">RTF</a> file to a <a href="WordPerfect" title="WordPerfect">WordPerfect</a> file by converting the RTF to <a href="OpenDocument" title="OpenDocument">OpenDocument</a> and then that to WordPerfect format. An image conversion program does not convert a <a href="PCX" title="PCX">PCX</a> image to PNG directly; instead, when loading the PCX image, it decodes it to a simple bitmap format for internal use in memory, and when commanded to convert to PNG, that memory image is converted to the target format. An audio converter that converts from <a href="FLAC" title="FLAC">FLAC</a> to <a href="Advanced_Audio_Coding" title="Advanced Audio Coding">AAC</a> decodes the source file to raw <a href="PCM" class="mw-redirect" title="PCM">PCM</a> data in memory first, and then performs the lossy AAC compression on that memory image to produce the target file.
</p>
<div class="mw-heading mw-heading2"><h2 id="Lost_and_inexact_data_conversion">Lost and inexact data conversion</h2></div>
<p>The objective of data conversion is to maintain all of the data, and as much of the embedded information as possible. This can only be done if the target format supports the same features and data structures present in the source file. Conversion of a word processing document to a plain text file necessarily involves loss of formatting information, because plain text format does not support word processing constructs such as marking a word as boldface. For this reason, conversion from one format to another which does not support a feature that is important to the user is rarely carried out, though it may be necessary for interoperability, e.g. converting a file from one version of <a href="Microsoft_Word" title="Microsoft Word">Microsoft Word</a> to an earlier version to enable transfer and use by other users who do not have the same later version of Word installed on their computer.
</p><p>Loss of information can be mitigated by approximation in the target format. There is no way of converting a character like <i>ä</i> to <a href="ASCII" title="ASCII">ASCII</a>, since the ASCII standard lacks it, but the information may be retained by approximating the character as <i>ae</i>. Of course, this is not an optimal solution, and can impact operations like searching and copying; and if a language makes a distinction between <i>ä</i> and <i>ae</i>, then that approximation does involve loss of information.
</p><p>Data conversion can also suffer from inexactitude, the result of converting between formats that are conceptually different. The <a href="WYSIWYG" title="WYSIWYG">WYSIWYG</a> paradigm, extant in word processors and <a href="Desktop_publishing" title="Desktop publishing">desktop publishing</a> applications, versus the structural-descriptive paradigm, found in <a href="SGML" class="mw-redirect" title="SGML">SGML</a>, <a href="XML" title="XML">XML</a> and many applications derived therefrom, like <a href="HTML" title="HTML">HTML</a> and <a href="MathML" title="MathML">MathML</a>, is one example. Using a WYSIWYG HTML editor conflates the two paradigms, and the result is HTML files with suboptimal, if not nonstandard, code. In the WYSIWYG paradigm a double linebreak signifies a new paragraph, as that is the visual cue for such a construct, but a WYSIWYG HTML editor will usually convert such a sequence to <BR><BR>, which is structurally no new paragraph at all. As another example, converting from <a href="PDF" title="PDF">PDF</a> to an editable word processor format is a tough chore, because PDF records the textual information like engraving on stone, with each character given a fixed position and linebreaks hard-coded, whereas word processor formats accommodate text reflow. PDF does not know of a word space character—the space between two letters and the space between two words differ only in quantity. Therefore, a title with ample letter-spacing for effect will usually end up with spaces in the word processor file, for example INTRODUCTION with spacing of 1 <a href="Em_(typography)" title="Em (typography)">em</a> as I N T R O D U C T I O N on the word processor.
</p>
<div class="mw-heading mw-heading2"><h2 id="Open_vs._secret_specifications">Open vs. secret specifications</h2></div>
<p>Successful data conversion requires thorough knowledge of the workings of both source and target formats. In the case where the specification of a format is unknown, <a href="Reverse_engineering" title="Reverse engineering">reverse engineering</a> will be needed to carry out conversion. Reverse engineering can achieve close approximation of the original specifications, but errors and missing features can still result.
</p>
<div class="mw-heading mw-heading2"><h2 id="Electronics">Electronics</h2></div>
<p>Data format conversion can also occur at the physical layer of an electronic communication system. Conversion between <a href="Line_code" title="Line code">line codes</a> such as <a href="Non-return-to-zero" title="Non-return-to-zero">NRZ</a> and <a href="Return-to-zero" title="Return-to-zero">RZ</a> can be accomplished when necessary.
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="Character_encoding" title="Character encoding">Character encoding</a></li>
<li><a href="Comparison_of_programming_languages_(basic_instructions)#Data_conversions" title="Comparison of programming languages (basic instructions)">Comparison of programming languages (basic instructions)#Data conversions</a></li>
<li><a href="Data_migration" title="Data migration">Data migration</a></li>
<li><a href="Data_transformation" class="mw-redirect" title="Data transformation">Data transformation</a></li>
<li><a href="Data_wrangling" title="Data wrangling">Data wrangling</a></li>
<li><a href="Transcoding" title="Transcoding">Transcoding</a></li>
<li><a href="Distributed_Data_Management_Architecture" title="Distributed Data Management Architecture">Distributed Data Management Architecture</a> (DDM)</li>
<li><a href="Code_conversion_(computing)" class="mw-redirect" title="Code conversion (computing)">Code conversion (computing)</a></li>
<li><a href="Source-to-source_translation" class="mw-redirect" title="Source-to-source translation">Source-to-source translation</a></li>
<li><a href="Presentation_layer" title="Presentation layer">Presentation layer</a></li>
<li><a rel="nofollow" class="external text" href="https://v2.youconvert.net/ena/">Video Converting</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-ManolescuVoelter2006-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-ManolescuVoelter2006_1-0">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFDragos-Anton_ManolescuMarkus_VoelterJames_Noble2006" class="citation book cs1">Dragos-Anton Manolescu; Markus Voelter; James Noble (2006). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=9ywUYmxstnAC&q=%22data+conversion%22+%22intermediate+representation%22&pg=PA271"><i>Pattern Languages of Program Design 5</i></a>. Addison-Wesley Professional. pp. 271–. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-0-321-32194-7</bdi>.</cite></span>
</li>
</ol></div></div>
<p><cite id="CITEREFManolescu2006" class="citation book cs1">Manolescu, FirstName (2006). <i>Pattern Languages of Program Design 5</i>. Upper Saddle River, NJ: Addison-Wesley. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>0321321944</bdi>.</cite>
</p>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1236075235">
/* start https://en.wikipedia.org/ */
.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1038841319">
/* start https://en.wikipedia.org/ */
.mw-parser-output .tooltip-dotted{border-bottom:1px dotted;cursor:help}
/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox authority-control" aria-labelledby="Authority_control_databases_frameless&#124;text-top&#124;10px&#124;alt=Edit_this_at_Wikidata&#124;link=https&#58;//www.wikidata.org/wiki/Q1783551#identifiers&#124;class=noprint&#124;Edit_this_at_Wikidata1153" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Authority_control_databases_frameless&#124;text-top&#124;10px&#124;alt=Edit_this_at_Wikidata&#124;link=https&#58;//www.wikidata.org/wiki/Q1783551#identifiers&#124;class=noprint&#124;Edit_this_at_Wikidata1153" style="font-size:114%;margin:0 4em">Authority control databases </div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">National</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://d-nb.info/gnd/4377497-0">Germany</a></span></li><li><span class="uid"><span class="rt-commentedText tooltip tooltip-dotted" title="Computer system conversion"><a rel="nofollow" class="external text" href="https://id.loc.gov/authorities/sh89004964">United States</a></span></span></li><li><span class="uid"><span class="rt-commentedText tooltip tooltip-dotted" title="konverze dat"><a rel="nofollow" class="external text" href="https://aleph.nkp.cz/F/?func=find-c&local_base=aut&ccl_term=ica=ph121826&CON_LNG=ENG">Czech Republic</a></span></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://www.nli.org.il/en/authorities/987007532263405171">Israel</a></span></li></ul></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://lux.collections.yale.edu/view/concept/2eff6474-9806-4e8d-975b-7f16775e5802">Yale LUX</a></span></li></ul></div></td></tr></tbody></table></div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-07-17" href="https://en.wikipedia.org/wiki/?title=Data_conversion&oldid=1301000010">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>